package inter.impl.bean;

import inter.bean.Dough;

/**
 * @program: designModel
 * @description: 东北面粉
 * @author: liuxincheng
 * @create: 2019-04-02 08:59
 */
public class DBDough implements Dough {

    String name = null;

    public DBDough(String type) {
        switch (type){
            case "canton":
                this.name="东南亚面粉";
                break;
        }
        System.out.println("创建"+this.getName() );
    }

    @Override
    public String getName() {
        return name;
    }
}
